
vlib work
vmap work
vlog -work work $env(XILINX)/verilog/src/glbl.v
vlog ../../rtl/axis_player.v
vlog ../../rtl/axis_recorder.v
vlog ../../rtl/AxiLite2RP.v
vlog ../../rtl/AxisRecordPlayer.v
vlog ../../rtl/capture_module.v
vlog ../../rtl/stream_capture.v
vlog ../../ipcore_dir/fwft_fifo_181.v
vlog -sv -dpiheader dpidef.h tb.sv
vlog kernel_space.c user_space.c

do eps.do

vsim -novopt \
  -pli ../cdn_axi_bfm_vip/vpi_lib/ntopt/libxil_vsim.dll \
  -L work -L xilinxcorelib_ver -L secureip -L unisims_ver \
  -t ps \
  tb glbl

view wave
do wave.do
run -all
